<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="com.msmall.community.admin.service.MemoryManager" language="java"%>
<c:set var="MEMORY_USERAGENT_KEY" value="<%=MemoryManager.MEMORY_USERAGENT_KEY%>"></c:set>
<c:set var="MEMORY_BBS_ALL_KEY" value="<%=MemoryManager.MEMORY_BBS_ALL_KEY%>"></c:set>
<c:set var="MEMORY_SYSTEM_CONFIG_KEY" value="<%=MemoryManager.MEMORY_SYSTEM_CONFIG_KEY%>"></c:set>
<c:set var="MEMORY_BBS_BOARD_KEY" value="<%=MemoryManager.MEMORY_BBS_BOARD_KEY%>"></c:set>
<c:set var="MEMORY_SCORERULE_KEY" value="<%=MemoryManager.MEMORY_SCORERULE_KEY%>"></c:set>
<c:set var="MEMORY_RANKRULE_KEY" value="<%=MemoryManager.MEMORY_RANKRULE_KEY%>"></c:set>
<c:set var="MEMORY_PLAY_KEY" value="<%=MemoryManager.MEMORY_PLAY_KEY%>"></c:set>
<c:set var="MEMORY_COMMEND_BBS_KEY" value="<%=MemoryManager.MEMORY_COMMEND_BBS_KEY%>"></c:set>
<c:set var="MEMORY_LINK_KEY" value="<%=MemoryManager.MEMORY_LINK_KEY%>"></c:set>
<c:set var="MEMORY_DEPARTMENT_KEY" value="<%=MemoryManager.MEMORY_DEPARTMENT_KEY%>"></c:set>
<c:set var="MEMORY_SEGMENT_KEY" value="<%=MemoryManager.MEMORY_SEGMENT_KEY%>"></c:set>
<c:set var="MEMORY_COMMEND_QUESTION_KEY" value="<%=MemoryManager.MEMORY_COMMEND_QUESTION_KEY%>"></c:set>
<c:set var="MEMORY_COMMEND_KLG_KEY" value="<%=MemoryManager.MEMORY_COMMEND_KLG_KEY%>"></c:set>
<c:set var="MEMORY_KLG_HOT_KEY" value="<%=MemoryManager.MEMORY_KLG_HOT_KEY%>"></c:set>
<c:set var="MEMORY_KEYWORD_KEY" value="<%=MemoryManager.MEMORY_KEYWORD_KEY%>"></c:set>
<c:set var="MEMORY_SITE_INDEX_KEY" value="<%=MemoryManager.MEMORY_SITE_INDEX_KEY%>"></c:set>

<script type="text/javascript">
function memoryRefresh(){
	var type = document.getElementById("memory_type").value;
	window.location.href = ctx + "/admin/memory/refresh.do?type="+type;
}
</script>
<div>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="pub_list01">
	<tr>
		<td width="250px" class="tdCenter">
			<select name="memory_type" id="memory_type">
				<option value="${MEMORY_USERAGENT_KEY}">UserAgent</option>
				<option value="${MEMORY_SITE_INDEX_KEY}">网站首页内容</option>
				<option value="${MEMORY_BBS_ALL_KEY}">BBS ALL</option>
				<option value="${MEMORY_SYSTEM_CONFIG_KEY}">系统配置</option>
				<option value="${MEMORY_BBS_BOARD_KEY}">BBS BOARD</option>
				<option value="${MEMORY_SCORERULE_KEY}">ScoreRule</option>
				<option value="${MEMORY_RANKRULE_KEY}">RankRule</option>
				<option value="${MEMORY_PLAY_KEY}">Play</option>
				<option value="${MEMORY_COMMEND_BBS_KEY}">BBS 推荐</option>
				<option value="${MEMORY_LINK_KEY}">友情链接</option>
				<option value="${MEMORY_DEPARTMENT_KEY}">栏目链接</option>
				<option value="${MEMORY_SEGMENT_KEY}">次要栏目链接</option>
				<option value="${MEMORY_COMMEND_QUESTION_KEY}">问答 推荐</option>
				<option value="${MEMORY_COMMEND_KLG_KEY}">知识推荐</option>
				<option value="${MEMORY_KLG_HOT_KEY}">知识各子Segment点击数排行</option>
				<option value="${MEMORY_KEYWORD_KEY}">Keyword</option>
			</select>
		</td>
		<td width="10px" class="tdCenter">
			<button onclick="memoryRefresh()" class="btn3_mouseout"><fmt:message key="common.refresh"/></button>&nbsp;&nbsp;
		</td>
	</tr>
</table>
</div>
<br/>